<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
 <head>
  <title> 注册 </title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="generator" content="editplus" />
  <meta name="author" content="guanqing" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <jsp:include page="commons/header.jsp"></jsp:include>
  <script type="text/javascript">
    $(document).ready(function() {
        account.initLoginForm();
        account.initRegisterForm();
    });
  </script>
 </head>
 <body>
    <jsp:include page="commons/menu.jsp"></jsp:include>
	<div class="borderBox">
		<div class="reglog">
		    <form id="registerForm" method="post">
				<div class="reg">
					<h3><img src="style/images/regTop.png" alt="" /></h3>
					<ul class="mode_add">
						<li>
							<label>账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</label>
							<input type="text" name="userName" id="userName" class="input_txt" maxlength="20" onblur="javascript:account.checkRegisterUserName();"/>
							<span id="userNameCorrect" class="correct" style="display:none;"></span>
							<span id="userNameError" class="error" style="display:none;"></span>
							<p>请输入数字、字母或汉字，长度不超过20个字符</p>
						</li>
						<li>
							<label>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
							<input type="password" name="password" id="password" class="input_txt" maxlength="20" onblur="javascript:account.checkRegisterPassword();"/>
							<span id="passwordCorrect" class="correct" style="display:none;"></span>
							<span id="passwordError" class="error" style="display:none;"></span>
							<p>密码为数字、字母或符号，长度在6-20之间</p>
						</li>
						<li>
							<label>确认密码：</label>
							<input type="password" name="confirmPassword" id="confirmPassword" class="input_txt" maxlength="20" onblur="javascript:account.checkRegisterConfirmPassword();" />
							<span id="confirmPasswordCorrect" class="correct" style="display:none;"></span>
							<span id="confirmPasswordError" class="error" style="display:none;">确认密码不统一！</span>
							<p>&nbsp;</p>
						</li>
						<li>
							<label>性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</label>
                            <input type="radio" name="sex" value="0" checked="checked" /> 男&nbsp;&nbsp;&nbsp;&nbsp;
                            <input type="radio" name="sex" value="1" /> 女
                            <input type="hidden" name="Usersex" value="0"/>
							<p>&nbsp;</p>
						</li>
					</ul>
					<div style="padding:20px 0 20px 75px"><input type="submit" value="" class="regBtn" /></div>
				</div>
			</form>
			<div class="login">
				<h3><img src="style/images/loginTop.png" alt="" /></h3>
                <form id="signForm" method="post">
					<ul class="mode_add">
						<li>
							<label>账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</label>
							<input type="text" name="accountName" id="accountName" class="input_txt" maxlength="20"/>
						</li>
						<li>
							<label>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
							<input type="password" name="pwd" id="pwd" class="input_txt" maxlength="20"/>
	                        <p id="loginError" style="display:none;"><span id="loginErrorTips" class="error"></span></p>
						</li>
					</ul>
					<div style="padding:20px 0 20px 75px"><input type="submit" value="" class="loginBtn" /></div>
				</form>
			</div>
		</div>
	</div>
    <jsp:include page="commons/footer.jsp"></jsp:include>
 </body>
</html>
